0 QTRS
↳1 QTRSRRRProof (⇔)
↳2 QTRS
↳3 QTRSRRRProof (⇔)
↳4 QTRS
↳5 QTRSRRRProof (⇔)
↳6 QTRS
↳7 DependencyPairsProof (⇔)
↳8 QDP
↳9 DependencyGraphProof (⇔)
↳10 QDP
↳11 MRRProof (⇔)
↳12 QDP
↳13 MRRProof (⇔)
↳14 QDP
↳15 DependencyGraphProof (⇔)
↳16 AND
↳17 QDP
↳18 QDPOrderProof (⇔)
↳19 QDP
↳20 QDPOrderProof (⇔)
↳21 QDP
↳22 DependencyGraphProof (⇔)
↳23 AND
↳24 QDP
↳25 QDPOrderProof (⇔)
↳26 QDP
↳27 QDPOrderProof (⇔)
↳28 QDP
↳29 Narrowing (⇔)
↳30 QDP
↳31 DependencyGraphProof (⇔)
↳32 QDP
↳33 Narrowing (⇔)
↳34 QDP
↳35 DependencyGraphProof (⇔)
↳36 QDP
↳37 Instantiation (⇔)
↳38 QDP
↳39 DependencyGraphProof (⇔)
↳40 AND
↳41 QDP
↳42 MRRProof (⇔)
↳43 QDP
↳44 MRRProof (⇔)
↳45 QDP
↳46 MRRProof (⇔)
↳47 QDP
↳48 QDPOrderProof (⇔)
↳49 QDP
↳50 QDPOrderProof (⇔)
↳51 QDP
↳52 QDPOrderProof (⇔)
↳53 QDP
↳54 QDPOrderProof (⇔)
↳55 QDP
↳56 NonTerminationProof (⇔)
↳57 NO
↳58 QDP
↳59 MRRProof (⇔)
↳60 QDP
↳61 MRRProof (⇔)
↳62 QDP
↳63 MRRProof (⇔)
↳64 QDP
↳65 QDPOrderProof (⇔)
↳66 QDP
↳67 QDPOrderProof (⇔)
↳68 QDP
↳69 QDPOrderProof (⇔)
↳70 QDP
↳71 QDPOrderProof (⇔)
↳72 QDP
↳73 QDP
↳74 QDPOrderProof (⇔)
↳75 QDP
↳76 PisEmptyProof (⇔)
↳77 YES
↳78 QDP
↳79 QDPOrderProof (⇔)
↳80 QDP
↳81 DependencyGraphProof (⇔)
↳82 TRUE
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__length(V1)) → isNatList(activate(V1))
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(V) → isNatList(activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(nil) → 0
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
POL(0) = 0
POL(U11(x1, x2)) = 1 + x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + 2·x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 2·x1
POL(isNatList(x1)) = 2·x1
POL(length(x1)) = 1 + 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 2·x1
POL(n__isNatList(x1)) = 2·x1
POL(n__length(x1)) = 1 + 2·x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
isNat(n__length(V1)) → isNatList(activate(V1))
length(nil) → 0
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(V) → isNatList(activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__nil) → tt
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
POL(0) = 0
POL(U11(x1, x2)) = x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = 2·x1 + x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 2·x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 2·x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 2·x1
POL(n__nil) = 1
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 1
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
isNatList(n__nil) → tt
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(V) → isNatList(activate(V))
isNatIList(n__zeros) → tt
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
POL(0) = 0
POL(U11(x1, x2)) = x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 1 + 2·x1
POL(isNatList(x1)) = 2·x1
POL(length(x1)) = 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 1 + 2·x1
POL(n__isNatList(x1)) = 2·x1
POL(n__length(x1)) = 2·x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
isNatIList(V) → isNatList(activate(V))
isNatIList(n__zeros) → tt
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ZEROS → CONS(0, n__zeros)
ZEROS → 01
U111(tt, L) → S(length(activate(L)))
U111(tt, L) → LENGTH(activate(L))
U111(tt, L) → ACTIVATE(L)
AND(tt, X) → ACTIVATE(X)
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
ISNATILIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
LENGTH(cons(N, L)) → U111(and(isNatList(activate(L)), n__isNat(N)), activate(L))
LENGTH(cons(N, L)) → AND(isNatList(activate(L)), n__isNat(N))
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
LENGTH(cons(N, L)) → ACTIVATE(L)
ACTIVATE(n__zeros) → ZEROS
ACTIVATE(n__0) → 01
ACTIVATE(n__length(X)) → LENGTH(activate(X))
ACTIVATE(n__length(X)) → ACTIVATE(X)
ACTIVATE(n__s(X)) → S(activate(X))
ACTIVATE(n__s(X)) → ACTIVATE(X)
ACTIVATE(n__cons(X1, X2)) → CONS(activate(X1), X2)
ACTIVATE(n__cons(X1, X2)) → ACTIVATE(X1)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ACTIVATE(n__nil) → NIL
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ACTIVATE(n__isNat(X)) → ISNAT(X)
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ACTIVATE(n__length(X)) → LENGTH(activate(X))
LENGTH(cons(N, L)) → U111(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U111(tt, L) → LENGTH(activate(L))
LENGTH(cons(N, L)) → AND(isNatList(activate(L)), n__isNat(N))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__length(X)) → ACTIVATE(X)
ACTIVATE(n__s(X)) → ACTIVATE(X)
ACTIVATE(n__cons(X1, X2)) → ACTIVATE(X1)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
ISNATILIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__isNat(X)) → ISNAT(X)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
LENGTH(cons(N, L)) → ACTIVATE(L)
U111(tt, L) → ACTIVATE(L)
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATILIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATILIST(n__cons(V1, V2)) → ACTIVATE(V2)
POL(0) = 0
POL(ACTIVATE(x1)) = x1
POL(AND(x1, x2)) = x1 + x2
POL(ISNAT(x1)) = x1
POL(ISNATILIST(x1)) = 1 + x1
POL(ISNATLIST(x1)) = x1
POL(LENGTH(x1)) = 2·x1
POL(U11(x1, x2)) = x1 + 2·x2
POL(U111(x1, x2)) = x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = 2·x1 + x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 1 + x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 1 + x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 2·x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
ACTIVATE(n__length(X)) → LENGTH(activate(X))
LENGTH(cons(N, L)) → U111(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U111(tt, L) → LENGTH(activate(L))
LENGTH(cons(N, L)) → AND(isNatList(activate(L)), n__isNat(N))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__length(X)) → ACTIVATE(X)
ACTIVATE(n__s(X)) → ACTIVATE(X)
ACTIVATE(n__cons(X1, X2)) → ACTIVATE(X1)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__isNat(X)) → ISNAT(X)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
LENGTH(cons(N, L)) → ACTIVATE(L)
U111(tt, L) → ACTIVATE(L)
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ACTIVATE(n__length(X)) → LENGTH(activate(X))
ACTIVATE(n__length(X)) → ACTIVATE(X)
POL(0) = 0
POL(ACTIVATE(x1)) = x1
POL(AND(x1, x2)) = 2·x1 + 2·x2
POL(ISNAT(x1)) = x1
POL(ISNATILIST(x1)) = 2·x1
POL(ISNATLIST(x1)) = 2·x1
POL(LENGTH(x1)) = 2·x1
POL(U11(x1, x2)) = 1 + x1 + 2·x2
POL(U111(x1, x2)) = x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 2·x1
POL(isNatList(x1)) = 2·x1
POL(length(x1)) = 1 + 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 2·x1
POL(n__isNatList(x1)) = 2·x1
POL(n__length(x1)) = 1 + 2·x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
LENGTH(cons(N, L)) → U111(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U111(tt, L) → LENGTH(activate(L))
LENGTH(cons(N, L)) → AND(isNatList(activate(L)), n__isNat(N))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__s(X)) → ACTIVATE(X)
ACTIVATE(n__cons(X1, X2)) → ACTIVATE(X1)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ACTIVATE(n__isNat(X)) → ISNAT(X)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
LENGTH(cons(N, L)) → ISNATLIST(activate(L))
LENGTH(cons(N, L)) → ACTIVATE(L)
U111(tt, L) → ACTIVATE(L)
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ACTIVATE(n__s(X)) → ACTIVATE(X)
ACTIVATE(n__cons(X1, X2)) → ACTIVATE(X1)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ACTIVATE(n__isNat(X)) → ISNAT(X)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ACTIVATE(n__isNat(X)) → ISNAT(X)
POL( AND(x1, x2) ) = 2x2 + 2
POL( ISNAT(x1) ) = 2x1 + 2
POL( n__isNatIList(x1) ) = max{0, -2}
POL( n__isNatList(x1) ) = x1
POL( activate(x1) ) = 2x1
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__0 ) = 0
POL( 0 ) = 0
POL( n__length(x1) ) = 0
POL( length(x1) ) = 0
POL( n__s(x1) ) = 2x1
POL( s(x1) ) = 2x1
POL( n__cons(x1, x2) ) = 2x1 + 2x2
POL( cons(x1, x2) ) = 2x1 + 2x2
POL( isNatIList(x1) ) = max{0, -2}
POL( and(x1, x2) ) = 2x2
POL( isNat(x1) ) = 2x1 + 1
POL( tt ) = 0
POL( isNatList(x1) ) = 2x1
POL( n__nil ) = 1
POL( nil ) = 1
POL( n__isNat(x1) ) = 2x1 + 1
POL( U11(x1, x2) ) = max{0, -1}
POL( ACTIVATE(x1) ) = 2x1 + 2
POL( ISNATILIST(x1) ) = 2
POL( ISNATLIST(x1) ) = 2x1 + 2
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
isNatList(X) → n__isNatList(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U11(tt, L) → s(length(activate(L)))
zeros → cons(0, n__zeros)
zeros → n__zeros
0 → n__0
nil → n__nil
ACTIVATE(n__s(X)) → ACTIVATE(X)
ACTIVATE(n__cons(X1, X2)) → ACTIVATE(X1)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATLIST(n__cons(V1, V2)) → ISNAT(activate(V1))
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V1)
ISNATLIST(n__cons(V1, V2)) → ACTIVATE(V2)
POL( AND(x1, x2) ) = 2x2
POL( ISNAT(x1) ) = x1
POL( n__isNatIList(x1) ) = 1
POL( n__isNatList(x1) ) = x1 + 1
POL( activate(x1) ) = 2x1
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__0 ) = 0
POL( 0 ) = 0
POL( n__length(x1) ) = max{0, -2}
POL( length(x1) ) = max{0, -2}
POL( n__s(x1) ) = 2x1
POL( s(x1) ) = 2x1
POL( n__cons(x1, x2) ) = x1 + 2x2
POL( cons(x1, x2) ) = x1 + 2x2
POL( isNatIList(x1) ) = 2
POL( and(x1, x2) ) = 2x2
POL( isNat(x1) ) = max{0, -2}
POL( tt ) = 0
POL( isNatList(x1) ) = 2x1 + 2
POL( n__nil ) = 0
POL( nil ) = 0
POL( n__isNat(x1) ) = 0
POL( U11(x1, x2) ) = max{0, -2}
POL( ACTIVATE(x1) ) = 2x1
POL( ISNATILIST(x1) ) = 2
POL( ISNATLIST(x1) ) = 2x1 + 2
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
isNatList(X) → n__isNatList(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U11(tt, L) → s(length(activate(L)))
zeros → cons(0, n__zeros)
zeros → n__zeros
0 → n__0
nil → n__nil
ACTIVATE(n__s(X)) → ACTIVATE(X)
ACTIVATE(n__cons(X1, X2)) → ACTIVATE(X1)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNAT(n__s(V1)) → ISNAT(activate(V1))
ISNAT(n__s(V1)) → ACTIVATE(V1)
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ACTIVATE(n__cons(X1, X2)) → ACTIVATE(X1)
ACTIVATE(n__s(X)) → ACTIVATE(X)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ACTIVATE(n__cons(X1, X2)) → ACTIVATE(X1)
POL( AND(x1, x2) ) = 2x2
POL( n__isNatIList(x1) ) = 0
POL( n__isNatList(x1) ) = max{0, -2}
POL( activate(x1) ) = max{0, -2}
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__0 ) = 1
POL( 0 ) = 0
POL( n__length(x1) ) = max{0, 2x1 - 1}
POL( length(x1) ) = x1 + 2
POL( n__s(x1) ) = 2x1 + 1
POL( s(x1) ) = x1 + 2
POL( n__cons(x1, x2) ) = 2x1 + 2
POL( cons(x1, x2) ) = x1 + 2
POL( isNatIList(x1) ) = 0
POL( and(x1, x2) ) = max{0, x2 - 2}
POL( isNat(x1) ) = max{0, -2}
POL( tt ) = 0
POL( isNatList(x1) ) = 1
POL( n__nil ) = 1
POL( nil ) = 2
POL( n__isNat(x1) ) = max{0, x1 - 2}
POL( U11(x1, x2) ) = max{0, -1}
POL( ACTIVATE(x1) ) = max{0, 2x1 - 2}
POL( ISNATILIST(x1) ) = 0
POL( ISNATLIST(x1) ) = max{0, -2}
ACTIVATE(n__s(X)) → ACTIVATE(X)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ACTIVATE(n__s(X)) → ACTIVATE(X)
[ns1, s] > [activate, zeros] > [n0, 0]
[ns1, s] > [activate, zeros] > cons > [isNat, length, nisNat1, U111] > and1
[nisNatIList, ISNATILIST] > isNatIList > [activate, zeros] > [n0, 0]
[nisNatIList, ISNATILIST] > isNatIList > [activate, zeros] > cons > [isNat, length, nisNat1, U111] > and1
tt > [isNat, length, nisNat1, U111] > and1
[nisNatList, ISNATLIST, isNatList] > [activate, zeros] > [n0, 0]
[nisNatList, ISNATLIST, isNatList] > [activate, zeros] > cons > [isNat, length, nisNat1, U111] > and1
nzeros > [activate, zeros] > [n0, 0]
nzeros > [activate, zeros] > cons > [isNat, length, nisNat1, U111] > and1
[nnil, nil]
ns1: multiset
nisNatIList: multiset
ISNATILIST: multiset
isNat: multiset
activate: []
tt: multiset
nisNatList: []
ISNATLIST: []
nzeros: multiset
zeros: multiset
n0: multiset
0: multiset
length: multiset
s: []
cons: []
isNatIList: multiset
and1: multiset
isNatList: multiset
nnil: multiset
nil: multiset
nisNat1: multiset
U111: multiset
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatIList(activate(V2)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATILIST(n__cons(y0, y1)) → AND(n__isNat(activate(y0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
ISNATILIST(n__cons(y0, y1)) → AND(n__isNat(activate(y0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(V1, V2)) → AND(isNat(activate(V1)), n__isNatList(activate(V2)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATLIST(n__cons(y0, y1)) → AND(n__isNat(activate(y0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(y0, y1)) → AND(n__isNat(activate(y0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
AND(tt, X) → ACTIVATE(X)
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATLIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatList(activate(y1)))
POL(0) = 0
POL(ACTIVATE(x1)) = 2·x1
POL(AND(x1, x2)) = x1 + 2·x2
POL(ISNATLIST(x1)) = x1
POL(U11(x1, x2)) = 2·x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + 2·x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 2·x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 2·x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 2·x1
POL(n__nil) = 1
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 1
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATLIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatList(activate(y1)))
POL(0) = 0
POL(ACTIVATE(x1)) = x1
POL(AND(x1, x2)) = 2·x1 + x2
POL(ISNATLIST(x1)) = 2·x1
POL(U11(x1, x2)) = x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 2 + x1
POL(isNatList(x1)) = 2·x1
POL(length(x1)) = 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 2 + x1
POL(n__isNatList(x1)) = 2·x1
POL(n__length(x1)) = 2·x1
POL(n__nil) = 1
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 1
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATLIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatList(activate(y1)))
POL(0) = 0
POL(ACTIVATE(x1)) = x1
POL(AND(x1, x2)) = x1 + 2·x2
POL(ISNATLIST(x1)) = 2·x1
POL(U11(x1, x2)) = 1 + x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = x1
POL(isNatList(x1)) = 2·x1
POL(length(x1)) = 1 + 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = x1
POL(n__isNatList(x1)) = 2·x1
POL(n__length(x1)) = 1 + 2·x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATLIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatList(activate(y1)))
POL( AND(x1, x2) ) = max{0, 2x2 - 2}
POL( n__isNatList(x1) ) = x1 + 1
POL( zeros ) = 0
POL( cons(x1, x2) ) = x1 + 2x2
POL( 0 ) = 0
POL( n__zeros ) = 0
POL( isNat(x1) ) = 2
POL( n__0 ) = 0
POL( tt ) = 0
POL( n__s(x1) ) = max{0, -2}
POL( activate(x1) ) = x1
POL( n__isNat(x1) ) = 2
POL( n__length(x1) ) = 2
POL( length(x1) ) = 2
POL( s(x1) ) = max{0, -2}
POL( n__cons(x1, x2) ) = x1 + 2x2
POL( n__isNatIList(x1) ) = max{0, -2}
POL( isNatIList(x1) ) = max{0, -2}
POL( and(x1, x2) ) = x2
POL( isNatList(x1) ) = x1 + 1
POL( n__nil ) = 0
POL( nil ) = 0
POL( U11(x1, x2) ) = max{0, -1}
POL( ISNATLIST(x1) ) = x1
POL( ACTIVATE(x1) ) = max{0, x1 - 1}
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatList(X) → n__isNatList(X)
length(X) → n__length(X)
isNatIList(X) → n__isNatIList(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U11(tt, L) → s(length(activate(L)))
nil → n__nil
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATLIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatList(activate(y1)))
POL( AND(x1, x2) ) = max{0, 2x1 + 2x2 - 1}
POL( n__isNatList(x1) ) = x1
POL( zeros ) = 2
POL( cons(x1, x2) ) = x1 + 2x2 + 2
POL( 0 ) = 0
POL( n__zeros ) = 0
POL( isNat(x1) ) = 1
POL( n__0 ) = 0
POL( tt ) = 1
POL( n__s(x1) ) = max{0, -2}
POL( activate(x1) ) = 2x1 + 2
POL( n__isNat(x1) ) = 1
POL( n__length(x1) ) = x1 + 1
POL( length(x1) ) = x1 + 1
POL( s(x1) ) = max{0, -2}
POL( n__cons(x1, x2) ) = x1 + 2x2 + 2
POL( n__isNatIList(x1) ) = max{0, -1}
POL( isNatIList(x1) ) = 2
POL( and(x1, x2) ) = x1 + 2x2 + 1
POL( isNatList(x1) ) = 2x1 + 2
POL( n__nil ) = 1
POL( nil ) = 2
POL( U11(x1, x2) ) = max{0, -2}
POL( ISNATLIST(x1) ) = 2x1 + 1
POL( ACTIVATE(x1) ) = 2x1 + 1
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
length(X) → n__length(X)
isNatIList(X) → n__isNatIList(X)
isNatList(X) → n__isNatList(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U11(tt, L) → s(length(activate(L)))
nil → n__nil
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATLIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatList(activate(y1)))
POL( AND(x1, x2) ) = max{0, x2 - 1}
POL( n__isNatList(x1) ) = 2x1 + 1
POL( zeros ) = 1
POL( cons(x1, x2) ) = x1 + 2x2 + 1
POL( 0 ) = 0
POL( n__zeros ) = 0
POL( isNat(x1) ) = max{0, -2}
POL( n__0 ) = 0
POL( tt ) = 0
POL( n__s(x1) ) = 1
POL( activate(x1) ) = x1 + 1
POL( n__isNat(x1) ) = max{0, -1}
POL( n__length(x1) ) = max{0, -1}
POL( length(x1) ) = 1
POL( s(x1) ) = 1
POL( n__cons(x1, x2) ) = x1 + 2x2 + 1
POL( n__isNatIList(x1) ) = 1
POL( isNatIList(x1) ) = 2
POL( and(x1, x2) ) = x2 + 1
POL( isNatList(x1) ) = 2x1 + 2
POL( n__nil ) = 0
POL( nil ) = 1
POL( U11(x1, x2) ) = 1
POL( ISNATLIST(x1) ) = 2x1
POL( ACTIVATE(x1) ) = max{0, x1 - 1}
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
s(X) → n__s(X)
length(X) → n__length(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
isNatList(X) → n__isNatList(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U11(tt, L) → s(length(activate(L)))
nil → n__nil
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATLIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatList(activate(y1)))
POL( AND(x1, x2) ) = max{0, 2x2 - 2}
POL( n__isNatList(x1) ) = x1 + 1
POL( zeros ) = 1
POL( cons(x1, x2) ) = 2x1 + x2
POL( 0 ) = 0
POL( n__zeros ) = 1
POL( isNat(x1) ) = max{0, -2}
POL( n__0 ) = 0
POL( tt ) = 0
POL( n__s(x1) ) = max{0, -1}
POL( activate(x1) ) = x1
POL( n__isNat(x1) ) = max{0, -1}
POL( n__length(x1) ) = 2
POL( length(x1) ) = 2
POL( s(x1) ) = max{0, -2}
POL( n__cons(x1, x2) ) = 2x1 + x2
POL( n__isNatIList(x1) ) = max{0, -2}
POL( isNatIList(x1) ) = max{0, -2}
POL( and(x1, x2) ) = x2
POL( isNatList(x1) ) = x1 + 1
POL( n__nil ) = 0
POL( nil ) = 0
POL( U11(x1, x2) ) = max{0, -2}
POL( ISNATLIST(x1) ) = 2x1
POL( ACTIVATE(x1) ) = max{0, 2x1 - 2}
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
isNatList(X) → n__isNatList(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U11(tt, L) → s(length(activate(L)))
nil → n__nil
AND(tt, n__isNatList(y_3)) → ACTIVATE(n__isNatList(y_3))
ACTIVATE(n__isNatList(X)) → ISNATLIST(X)
ISNATLIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatList(activate(y1)))
ISNATLIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATILIST(n__cons(n__nil, y1)) → AND(isNat(nil), n__isNatIList(activate(y1)))
POL(0) = 0
POL(ACTIVATE(x1)) = x1
POL(AND(x1, x2)) = 2·x1 + 2·x2
POL(ISNATILIST(x1)) = 2·x1
POL(U11(x1, x2)) = 2·x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + 2·x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 2·x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 2·x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 2·x1
POL(n__nil) = 2
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 2
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATILIST(n__cons(n__length(x0), y1)) → AND(isNat(length(activate(x0))), n__isNatIList(activate(y1)))
POL(0) = 0
POL(ACTIVATE(x1)) = x1
POL(AND(x1, x2)) = x1 + 2·x2
POL(ISNATILIST(x1)) = 2·x1
POL(U11(x1, x2)) = 2 + 2·x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = x1 + x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = 2·x1
POL(isNatIList(x1)) = 2·x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 2 + 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = 2·x1
POL(n__isNatIList(x1)) = 2·x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 2 + 2·x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNATILIST(n__cons(n__isNatIList(x0), y1)) → AND(isNat(isNatIList(x0)), n__isNatIList(activate(y1)))
POL(0) = 0
POL(ACTIVATE(x1)) = x1
POL(AND(x1, x2)) = 2·x1 + x2
POL(ISNATILIST(x1)) = 2 + 2·x1
POL(U11(x1, x2)) = x1 + 2·x2
POL(activate(x1)) = x1
POL(and(x1, x2)) = 2·x1 + x2
POL(cons(x1, x2)) = 2·x1 + 2·x2
POL(isNat(x1)) = x1
POL(isNatIList(x1)) = 2 + 2·x1
POL(isNatList(x1)) = x1
POL(length(x1)) = 2·x1
POL(n__0) = 0
POL(n__cons(x1, x2)) = 2·x1 + 2·x2
POL(n__isNat(x1)) = x1
POL(n__isNatIList(x1)) = 2 + 2·x1
POL(n__isNatList(x1)) = x1
POL(n__length(x1)) = 2·x1
POL(n__nil) = 0
POL(n__s(x1)) = x1
POL(n__zeros) = 0
POL(nil) = 0
POL(s(x1)) = x1
POL(tt) = 0
POL(zeros) = 0
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATILIST(n__cons(n__s(x0), y1)) → AND(isNat(s(activate(x0))), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNat(x0), y1)) → AND(isNat(isNat(x0)), n__isNatIList(activate(y1)))
POL( AND(x1, x2) ) = max{0, 2x2 - 2}
POL( n__isNatIList(x1) ) = x1 + 2
POL( zeros ) = 0
POL( cons(x1, x2) ) = x1 + 2x2
POL( 0 ) = 0
POL( n__zeros ) = 0
POL( isNat(x1) ) = 1
POL( n__0 ) = 0
POL( tt ) = 0
POL( n__s(x1) ) = 1
POL( activate(x1) ) = x1
POL( n__isNat(x1) ) = 1
POL( n__length(x1) ) = 2x1 + 1
POL( length(x1) ) = 2x1 + 1
POL( s(x1) ) = 1
POL( n__cons(x1, x2) ) = x1 + 2x2
POL( isNatIList(x1) ) = x1 + 2
POL( and(x1, x2) ) = x2
POL( n__isNatList(x1) ) = max{0, -2}
POL( isNatList(x1) ) = max{0, -2}
POL( n__nil ) = 1
POL( nil ) = 1
POL( U11(x1, x2) ) = x2 + 1
POL( ISNATILIST(x1) ) = x1 + 2
POL( ACTIVATE(x1) ) = max{0, 2x1 - 2}
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatList(X) → n__isNatList(X)
length(X) → n__length(X)
isNatIList(X) → n__isNatIList(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U11(tt, L) → s(length(activate(L)))
nil → n__nil
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATILIST(n__cons(n__isNatList(x0), y1)) → AND(isNat(isNatList(x0)), n__isNatIList(activate(y1)))
POL( AND(x1, x2) ) = max{0, 2x1 + 2x2 - 2}
POL( n__isNatIList(x1) ) = 2x1
POL( zeros ) = 0
POL( cons(x1, x2) ) = 2x1 + 2x2
POL( 0 ) = 0
POL( n__zeros ) = 0
POL( isNat(x1) ) = 1
POL( n__0 ) = 0
POL( tt ) = 1
POL( n__s(x1) ) = 0
POL( activate(x1) ) = x1
POL( n__isNat(x1) ) = 1
POL( n__length(x1) ) = 2
POL( length(x1) ) = 2
POL( s(x1) ) = max{0, -1}
POL( n__cons(x1, x2) ) = 2x1 + 2x2
POL( isNatIList(x1) ) = 2x1
POL( and(x1, x2) ) = max{0, 2x1 + x2 - 2}
POL( n__isNatList(x1) ) = 1
POL( isNatList(x1) ) = 1
POL( n__nil ) = 2
POL( nil ) = 2
POL( U11(x1, x2) ) = 2
POL( ISNATILIST(x1) ) = 2x1
POL( ACTIVATE(x1) ) = 2x1
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
cons(X1, X2) → n__cons(X1, X2)
isNatList(X) → n__isNatList(X)
length(X) → n__length(X)
s(X) → n__s(X)
isNatIList(X) → n__isNatIList(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U11(tt, L) → s(length(activate(L)))
nil → n__nil
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATILIST(n__cons(n__cons(x0, x1), y1)) → AND(isNat(cons(activate(x0), x1)), n__isNatIList(activate(y1)))
POL( AND(x1, x2) ) = x2
POL( n__isNatIList(x1) ) = 2x1
POL( zeros ) = 2
POL( cons(x1, x2) ) = x1 + x2 + 2
POL( 0 ) = 0
POL( n__zeros ) = 0
POL( isNat(x1) ) = 2
POL( n__0 ) = 0
POL( tt ) = 2
POL( n__s(x1) ) = 2
POL( activate(x1) ) = x1 + 2
POL( n__isNat(x1) ) = max{0, -1}
POL( n__length(x1) ) = 2
POL( length(x1) ) = 2
POL( s(x1) ) = 2
POL( n__cons(x1, x2) ) = x1 + x2 + 2
POL( isNatIList(x1) ) = 2x1 + 2
POL( and(x1, x2) ) = max{0, 2x1 + x2 - 2}
POL( n__isNatList(x1) ) = 2x1
POL( isNatList(x1) ) = 2x1 + 2
POL( n__nil ) = 1
POL( nil ) = 1
POL( U11(x1, x2) ) = 2
POL( ISNATILIST(x1) ) = 2x1
POL( ACTIVATE(x1) ) = x1
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
cons(X1, X2) → n__cons(X1, X2)
length(X) → n__length(X)
s(X) → n__s(X)
isNatIList(X) → n__isNatIList(X)
isNatList(X) → n__isNatList(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U11(tt, L) → s(length(activate(L)))
nil → n__nil
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNATILIST(n__cons(n__zeros, y1)) → AND(isNat(zeros), n__isNatIList(activate(y1)))
POL( AND(x1, x2) ) = max{0, x2 - 2}
POL( n__isNatIList(x1) ) = x1 + 2
POL( zeros ) = 1
POL( cons(x1, x2) ) = x1 + x2
POL( 0 ) = 0
POL( n__zeros ) = 1
POL( isNat(x1) ) = max{0, -2}
POL( n__0 ) = 0
POL( tt ) = 0
POL( n__s(x1) ) = 1
POL( activate(x1) ) = x1
POL( n__isNat(x1) ) = max{0, -1}
POL( n__length(x1) ) = 1
POL( length(x1) ) = 1
POL( s(x1) ) = 1
POL( n__cons(x1, x2) ) = x1 + x2
POL( isNatIList(x1) ) = x1 + 2
POL( and(x1, x2) ) = x2
POL( n__isNatList(x1) ) = max{0, -1}
POL( isNatList(x1) ) = max{0, -2}
POL( n__nil ) = 0
POL( nil ) = 0
POL( U11(x1, x2) ) = 1
POL( ISNATILIST(x1) ) = x1
POL( ACTIVATE(x1) ) = max{0, x1 - 2}
zeros → cons(0, n__zeros)
zeros → n__zeros
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
isNatList(X) → n__isNatList(X)
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U11(tt, L) → s(length(activate(L)))
nil → n__nil
AND(tt, n__isNatIList(y_3)) → ACTIVATE(n__isNatIList(y_3))
ACTIVATE(n__isNatIList(X)) → ISNATILIST(X)
ISNATILIST(n__cons(n__0, y1)) → AND(isNat(0), n__isNatIList(activate(y1)))
ISNATILIST(n__cons(x0, y1)) → AND(isNat(x0), n__isNatIList(activate(y1)))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
ISNAT(n__s(V1)) → ISNAT(activate(V1))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ISNAT(n__s(V1)) → ISNAT(activate(V1))
POL( ISNAT(x1) ) = 2x1 + 2
POL( activate(x1) ) = 2x1
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__0 ) = 2
POL( 0 ) = 2
POL( n__length(x1) ) = max{0, -2}
POL( length(x1) ) = max{0, -2}
POL( n__s(x1) ) = 2x1 + 1
POL( s(x1) ) = 2x1 + 1
POL( n__cons(x1, x2) ) = 0
POL( cons(x1, x2) ) = 0
POL( n__isNatIList(x1) ) = 1
POL( isNatIList(x1) ) = 2
POL( and(x1, x2) ) = max{0, 2x1 + 2x2 - 2}
POL( isNat(x1) ) = 1
POL( tt ) = 1
POL( n__isNatList(x1) ) = max{0, -2}
POL( isNatList(x1) ) = max{0, -2}
POL( n__nil ) = 0
POL( nil ) = 0
POL( n__isNat(x1) ) = 1
POL( U11(x1, x2) ) = max{0, 2x1 - 1}
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
isNat(n__0) → tt
isNat(X) → n__isNat(X)
isNatList(X) → n__isNatList(X)
isNat(n__s(V1)) → isNat(activate(V1))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U11(tt, L) → s(length(activate(L)))
zeros → cons(0, n__zeros)
zeros → n__zeros
0 → n__0
nil → n__nil
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
U111(tt, L) → LENGTH(activate(L))
LENGTH(cons(N, L)) → U111(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
LENGTH(cons(N, L)) → U111(and(isNatList(activate(L)), n__isNat(N)), activate(L))
POL( LENGTH(x1) ) = 1
POL( U111(x1, x2) ) = x1
POL( activate(x1) ) = 2x1
POL( n__zeros ) = 0
POL( zeros ) = 0
POL( n__0 ) = 0
POL( 0 ) = 0
POL( n__length(x1) ) = 1
POL( length(x1) ) = 2
POL( n__s(x1) ) = 0
POL( s(x1) ) = max{0, -2}
POL( n__cons(x1, x2) ) = max{0, -1}
POL( cons(x1, x2) ) = max{0, -2}
POL( n__isNatIList(x1) ) = 1
POL( isNatIList(x1) ) = 2
POL( and(x1, x2) ) = max{0, 2x1 + 2x2 - 2}
POL( isNat(x1) ) = 1
POL( tt ) = 1
POL( n__isNatList(x1) ) = 0
POL( isNatList(x1) ) = max{0, -2}
POL( n__nil ) = 2
POL( nil ) = 2
POL( n__isNat(x1) ) = 1
POL( U11(x1, x2) ) = max{0, -2}
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
and(tt, X) → activate(X)
activate(n__isNatList(X)) → isNatList(X)
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
activate(n__nil) → nil
activate(n__isNat(X)) → isNat(X)
activate(X) → X
isNatList(X) → n__isNatList(X)
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
isNat(n__0) → tt
isNat(X) → n__isNat(X)
isNat(n__s(V1)) → isNat(activate(V1))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
U11(tt, L) → s(length(activate(L)))
zeros → cons(0, n__zeros)
zeros → n__zeros
0 → n__0
nil → n__nil
U111(tt, L) → LENGTH(activate(L))
zeros → cons(0, n__zeros)
U11(tt, L) → s(length(activate(L)))
and(tt, X) → activate(X)
isNat(n__0) → tt
isNat(n__s(V1)) → isNat(activate(V1))
isNatIList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatIList(activate(V2)))
isNatList(n__cons(V1, V2)) → and(isNat(activate(V1)), n__isNatList(activate(V2)))
length(cons(N, L)) → U11(and(isNatList(activate(L)), n__isNat(N)), activate(L))
zeros → n__zeros
0 → n__0
length(X) → n__length(X)
s(X) → n__s(X)
cons(X1, X2) → n__cons(X1, X2)
isNatIList(X) → n__isNatIList(X)
nil → n__nil
isNatList(X) → n__isNatList(X)
isNat(X) → n__isNat(X)
activate(n__zeros) → zeros
activate(n__0) → 0
activate(n__length(X)) → length(activate(X))
activate(n__s(X)) → s(activate(X))
activate(n__cons(X1, X2)) → cons(activate(X1), X2)
activate(n__isNatIList(X)) → isNatIList(X)
activate(n__nil) → nil
activate(n__isNatList(X)) → isNatList(X)
activate(n__isNat(X)) → isNat(X)
activate(X) → X